package com.ruoyi.system.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.lifecycle.domain.LifManageList;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 *sys_market
 * 
 * @author ruoyi
 * @date 2021-12-20
 */
public class SysMarket extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private SysDeviceList sysDeviceList;

    private List<SysMarketFile> sysMarketFiles;

    /** 主键id */
    private Long marId;

    /** 设备名称id */
    @Excel(name = "设备名称id")
    private Long sysDeviceId;

    public String getDevName() {
        return devName;
    }

    public void setDevName(String devName) {
        this.devName = devName;
    }

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String devName;

    /** 调研文档信息 */
    @Excel(name = "调研文档信息")
    private String markInfo;

    /** 调研文档部门 */
    @Excel(name = "调研文档部门")
    private String markDept;

    /** 调研文档状态文档状态 0未审核  1审核通过 2审核不通过 */
    @Excel(name = "调研文档状态文档状态 0未审核  1审核通过 2审核不通过")
    private Integer markState;

    /** 变更人 */
    @Excel(name = "变更人")
    private String person;

    /** 变更时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "变更时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changeTime;

    /** 删除状态  0未删除  1已删除 */
    private Integer delFlag;

    /** 审批意见 */
    @Excel(name = "审批意见")
    private String revComment;

    /** 审批人 */
    @Excel(name = "审批人")
    private Long approver;

    /**项目id*/
    private Long sysId;

    /** 项目清单 */
    private LifManageList lifManageList;



    public Long getSysId() {
        return sysId;
    }

    public void setSysId(Long sysId) {
        this.sysId = sysId;
    }

    public LifManageList getLifManageList() {
        return lifManageList;
    }

    public void setLifManageList(LifManageList lifManageList) {
        this.lifManageList = lifManageList;
    }

    public Long getApprover() {
        return approver;
    }

    public void setApprover(Long approver) {
        this.approver = approver;
    }

    public String getRevComment() {
        return revComment;
    }

    public List<SysMarketFile> getSysMarketFiles() {
        return sysMarketFiles;
    }

    public void setSysMarketFiles(List<SysMarketFile> sysMarketFiles) {
        this.sysMarketFiles = sysMarketFiles;
    }

    public SysDeviceList getSysDeviceList() {
        return sysDeviceList;
    }

    public void setSysDeviceList(SysDeviceList sysDeviceList) {
        this.sysDeviceList = sysDeviceList;
    }

    public void setMarId(Long marId)
    {
        this.marId = marId;
    }

    public Long getMarId() 
    {
        return marId;
    }
    public void setSysDeviceId(Long sysDeviceId)
    {
        this.sysDeviceId = sysDeviceId;
    }

    public Long getSysDeviceId()
    {
        return sysDeviceId;
    }
    public void setMarkInfo(String markInfo) 
    {
        this.markInfo = markInfo;
    }

    public String getMarkInfo() 
    {
        return markInfo;
    }
    public void setMarkDept(String markDept) 
    {
        this.markDept = markDept;
    }

    public String getMarkDept() 
    {
        return markDept;
    }
    public void setMarkState(Integer markState) 
    {
        this.markState = markState;
    }

    public Integer getMarkState() 
    {
        return markState;
    }
    public void setPerson(String person) 
    {
        this.person = person;
    }

    public String getPerson() 
    {
        return person;
    }
    public void setChangeTime(Date changeTime) 
    {
        this.changeTime = changeTime;
    }

    public Date getChangeTime() 
    {
        return changeTime;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }
    public void setRevComment(String revComment) 
    {
        this.revComment = revComment;
    }


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("marId", getMarId())
            .append("sysDeviceId", getSysDeviceId())
            .append("markInfo", getMarkInfo())
            .append("markDept", getMarkDept())
            .append("markState", getMarkState())
            .append("person", getPerson())
            .append("createTime", getCreateTime())
            .append("changeTime", getChangeTime())
            .append("createBy", getCreateBy())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("updateBy", getUpdateBy())
            .append("revComment", getRevComment())
            .append("approver", getApprover())
            .append("sysId", getSysId())
            .toString();
    }
}
